package com.steed.rocketmq.producer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * ONS 生产者启动类
 *
 * @author za-zhubin002
 * Created in 14:21 2017/10/27
 */
@SpringBootApplication
public class OnsProducerApplication {
    public static void main(String[] args) {
        SpringApplication.run(OnsProducerApplication.class);
    }

    public SpringApplicationBuilder configure(
            SpringApplicationBuilder builder) {
        return builder.sources(OnsProducerApplication.class);
    }
}
